<template>
  <div class="home-banner">
    <lunbotu :list="homeStore.slideList" :aotuoPlay="true" :time="3000"></lunbotu>
  </div>
</template>
<script lang="ts" setup>
import useStore from '@/store'
const { homeStore } = useStore()
homeStore.getSildeList()
</script>

<style scoped lang="less">
.home-banner {
  width: 1240px;
  height: 500px;
  position: absolute;
  left: 0;
  top: 0;
  z-index: 98;
  background-color: pink;

  // 操作轮播图中的样式使用深度选择器
  :deep(.carousel-btn.prev) {
    left: 270px !important;
  }

  :deep(.carousel-indicator) {
    padding-left: 250px;
  }
}
</style>
